package com.duobaoyu.dby.supply.common.biz.bo.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 补单记录BO
 * @author chenms
 * @date 2023/10/18 3:00 PM
 */
@Data
public class OrderRepairRecordBO implements Serializable {

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 供应链订单号
     */
    @ApiModelProperty(value = "供应链订单号")
    private String orderSn;

    /**
     * 供应链补单订单号
     */
    @ApiModelProperty(value = "供应链补单订单号")
    private String repairOrderSn;

    /**
     * 渠道交易单号
     */
    @ApiModelProperty(value = "渠道交易单号")
    private String channelTradeOrderSn;

    /**
     * 失败编码
     */
    @ApiModelProperty(value = "失败编码")
    private Integer failCode;

    /**
     * 失败详情
     */
    @ApiModelProperty(value = "失败详情")
    private String failDesc;

    /**
     * 补单状态：1-待补单 2-补单中 3-补单失败 4-已补单 5-已关闭
     */
    @ApiModelProperty(value = "补单状态：1-待补单 2-补单中 3-补单失败 4-已补单 5-已关闭")
    private Integer repairStatus;
}
